﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Core.API.Entity
{
    public class RespModel : RespBaseModel
    {
        public RespModel()
        {
            IsOK = true;
            ErrorCode = 0;
            Message = "成功";
        }


        public RespModel(object data)
        {
            IsOK = true;
            ErrorCode = 0;
            Message = "成功";
            Data = data;
        }

        #region 返回数据内容
        /// <summary>
        /// 返回数据内容
        /// </summary> 
        public object Data { get; set; }
        #endregion
    }
}
